package com.zhifou.service.impl;

import com.zhifou.dao.UserDao;
import com.zhifou.model.SpManager;
import com.zhifou.model.User;
import com.zhifou.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Desc:
 * @Author: 公众号：知否技术
 * @date: 下午7:41 2022/5/7
 */
@Service
public class UserServiceImpl implements UserService {

    @Autowired
    private UserDao userDao;

    @Override
    public List<User> getUserList() {
        return userDao.getUserList();
    }

    @Override
    public List<SpManager> getSpManagerList() {
        return userDao.getSpManagerList();
    }
}
